.recent-matches {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 6px;
}

.recent-matches h4 {
    margin-top: 16px;
}

.match {
    align-items: center;
    background: var(--background-color);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: row;
    gap: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.5s;
}

.match:hover {
    border: 1px solid var(--accent-color);
    background: var(--orange-100);
}

.match img {
    width: 24px;
    height: 24px;
}

.match p {
    font-size: 16px;
    color: var(--primary-text-color);
    margin: 4px 0;
}

.match  span {
    margin-left: auto;
    font-weight: 700;
}

.match .win {
    color: var(--succes-color);
}

.match .lose {
    color: var(--error-color);
}

.match .flag {
    margin-left: 8px;
    width: 6px;
    border-radius: 2px;
    height: 100%;
}

.match .flag.win {
    background: var(--succes-color);
}

.match .flag.lose {
    background: var(--error-color);
}

.match .draw {
    color: var(--secondary-text-color);
}

.match .status {
    font-size: 16px;
    font-weight: 500;
}

.match .date {
    font-size: 14px;
    color: var(--tertiary-text-color);
}
